package com.moyun.zbmy.zizhou.ui.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.ruihang.generalibrary.ui.adapter.BaseHolderAbsAdapter;
import com.moyun.zbmy.zizhou.R;
import com.moyun.zbmy.zizhou.beans.FProgramme;
import com.moyun.zbmy.zizhou.ui.adapter.holder.AnchorReDataHolder;
import com.moyun.zbmy.zizhou.ui.adapter.holder.MySubscribeHolder;
import com.moyun.zbmy.zizhou.ui.datainf.IAdvanceData;
import com.moyun.zbmy.zizhou.ui.util.IListShowData;

import java.util.List;

/**
 * Created by Administrator on 2017/8/16 0016.
 */

public class AnchorRecomAdapter extends BaseHolderAbsAdapter<FProgramme,AnchorReDataHolder> {
    public AnchorRecomAdapter(Context context, List<FProgramme> list) {
        super(context, list);
    }


    @Override
    public AnchorReDataHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view= LayoutInflater.from(context).inflate(R.layout.item_anchor_recommen_data,parent,false);
        AnchorReDataHolder holder=new AnchorReDataHolder(context,view);
        return holder;
    }
}
